package org.devgframwork.web.config;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @auther dh
 * @date 2022/7/13 17:46
 */
@Component
public class DestroyConfig implements DisposableBean {

    @Override
    public void destroy() throws Exception {
        System.out.println("closing project ....");
    }
}
